projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69c185
)
* comp.el (comp-output-base-filename): Handle src being a symbol
author
Andrea Corallo
<akrl@sdf.org>
Sun, 29 Mar 2020 10:09:02 +0000
(11:09 +0100)
committer
Andrea Corallo
<akrl@sdf.org>
Sun, 29 Mar 2020 11:30:33 +0000
(12:30 +0100)
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index eca61c6bac5573ff1b010559e002aadd04372501..92d0655ffdc0f57ff151d3ee6d9dc59750099821 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-440,7
+440,8
@@
VERBOSITY is a number between 0 and 3."
(defun comp-output-base-filename (src)
"Output filename sans extention for SRC file being native compiled."
- (let* ((expanded-filename (expand-file-name src))
+ (let* ((src (if (symbolp src) (symbol-name src) src))
+ (expanded-filename (expand-file-name src))
(output-dir (file-name-as-directory
(concat (file-name-directory expanded-filename)
comp-native-path-postfix)))